﻿<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ include file="/common/meta.jsp"%>
<%@ include file="/common/content.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>权限信息管理</title>
	</head>
	<body>

		
		<div class="rhead">
			<div class="rpos">
				当前位置: 业务管理 - 套餐信息管理
			</div>
			<div class="ropt">
				<a href="orderlistAction!add_page.action">新增</a>
			</div>
			<div class="clear"></div>
		</div>
		
		<table class="listTable3" onmouseover="changeto()"
			onmouseout="changeback()" style="width:100%;">
			<tr class="headbg">
				<td width="50px">
					排序
				</td>
				<td width="200px">
					套餐编号
				</td>
				<td width="200px">
					套餐名称
				</td>
				<td>
					套餐类型
				</td>
				<td>
					基本操作
				</td>
			</tr>
			<c:forEach var="authorities" items="${authoritiesList}">
				<tr>
					<td>
						${authorities.orderAuth}
					</td>
					<td>
						${authorities.displayName}
					</td>
					<td>
						${authorities.name}
					</td>
					<td>
					    <c:if test="${authorities.salesDirect == 1}">优惠充值</c:if>
						<c:if test="${authorities.salesDirect == 2}">直接充值</c:if>
					</td>
					<td>
						<a href="orderlistAction!view.action?id=${authorities.id}">
							查看 </a>&nbsp; &nbsp;
						<a href="orderlistAction!edit.action?id=${authorities.id}&_pageNo=<s:property value="pager.pageNo" />">
							编辑 </a>&nbsp; &nbsp;
						<a href="orderlistAction!delete.action?id=${authorities.id}"
							onClick="{if(confirm('你真的要删除吗?')){return true;}return false;}">
							删除 </a>
					</td>
				</tr>
			</c:forEach>
		</table>

		
		<s:form action="orderlistAction" method="get" name="form1" theme="simple">
		<table class="listTable2">
				<tr>
					<td width="50%">
						&nbsp;&nbsp;共有 <s:property value="pager.rowCount" /> 条记录，每页行数：
							<s:select name="pageSize" list="pager.pageSizeIndexs" 
								theme="simple"
								value="pager.pageSize"
								onchange="document.all.pageNo.value='1';document.all.form1.submit();" />当前第 
	            <s:select name="pageNo" list="pager.pageNoIndexs" theme="simple"
								value="pager.pageNo" onchange="document.all.form1.submit();" />
				 页
					</td>
					<td width="200px">
	                  <a
								href="javascript:document.all.pageNo.value='<s:property value="pager.firstPageNo" />';document.all.form1.submit();">
								<img src="${ctx}/image/jwc/first.gif" width="37" height="15" /></a>
	                 
	                  <a
								href="javascript:document.all.pageNo.value='<s:property value="pager.prePageNo" />';document.all.form1.submit();">
								<img src="${ctx}/image/jwc/back.gif" width="43" height="15" /></a>
	                
	                  <a
								href="javascript:document.all.pageNo.value='<s:property value="pager.nextPageNo"/>';document.all.form1.submit();">
								<img src="${ctx}/image/jwc/next.gif" width="43" height="15" /></a>
	                  
	                  <a
								href="javascript:document.all.pageNo.value='<s:property value="pager.lastPageNo" />';document.all.form1.submit();">
	                  <img src="${ctx}/image/jwc/last.gif" width="37" height="15" /></a>
	                  </td>
				</tr>
			</table>
	</s:form>	
	</body>
</html>

